package com.it;

import java.io.File;

public class Text02 {
    public static void main(String[] args) {
        File file = new File("/Users/zhanggang/develop/java");
        String[] list = file.list();
        for (String string : list) {
            System.out.println(string);
        }

        File[] files = file.listFiles();
        for (File file1 : files) {
            System.out.println(file1);
        }

        System.out.println(System.getProperty("os.arch"));
    }
}
